#pragma once
#include "lib.h"


extern int PosValue[GRID_NUM][GRID_NUM];
class MoveGenerator
{
	
public:
	MoveGenerator();
	~MoveGenerator();

	int createPossibleMove(CHESS_COLOR(&chessmen)[GRID_NUM][GRID_NUM], int player);
	VALUE_POINT moveList[10][255];
private:
	
	int moveCount;
	int dc[8] = { 0,1,1,1,0,-1,-1,-1 };
	int dr[8] = { -1,-1,0,1,1,1,0,-1 };
};

